#ifndef GAMEPAGE_H
#define GAMEPAGE_H

#include <QWidget>
#include<QGraphicsScene>
#include<QGraphicsView>
#include"scene.h"
namespace Ui {
class gamepage;
}

class gamepage : public QWidget
{
    Q_OBJECT

public:
    explicit gamepage(QWidget *parent = nullptr);
    ~gamepage();
    void start();
public slots:
    void over(int score);
signals:
    void GameOver(int score);
private:
    Ui::gamepage *ui;
    Scene *scene;
};

#endif // GAMEPAGE_H
